package com.ruoyi.tea.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 tea_user
 * 
 * @author ruoyi
 * @date 2022-07-31
 */
public class TeaUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户编号（一串数字） */
    @Excel(name = "用户编号", readConverterExp = "一=串数字")
    private String userCode;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String name;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String phone;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String address;

    /** 用户微信ID */
    @Excel(name = "用户微信ID")
    private String openId;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private String sex;

    /** 0正常1删除 */
    @Excel(name = "0正常1删除")
    private Integer status;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String headImageUrl;
    /** 微信号 */
    @Excel(name = "微信号")
    private String wxChat;
    /** 是否主播，0不是1是 */
    @Excel(name = "是否主播，0不是1是")
    private Integer anchor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setHeadImageUrl(String headImageUrl) 
    {
        this.headImageUrl = headImageUrl;
    }

    public String getHeadImageUrl() 
    {
        return headImageUrl;
    }

    public String getWxChat() {
        return wxChat;
    }

    public void setWxChat(String wxChat) {
        this.wxChat = wxChat;
    }

    public Integer getAnchor() {
        return anchor;
    }

    public void setAnchor(Integer anchor) {
        this.anchor = anchor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userCode", getUserCode())
            .append("name", getName())
            .append("nickName", getNickName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("openId", getOpenId())
            .append("createTime", getCreateTime())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("headImageUrl", getHeadImageUrl())
            .toString();
    }
}
